/** @file ComplexItem.qml
@brief The Qt-Complex item definition of the framework properties.

The ComplexInstance defines the global framework properties related to a theme.
To be free to change image names and elements the framework properties are set
using a theme js library containing the custom parameters.
This item should never be changed: to manage the theme properties
and object names should be customized the theme.js library.

@authorname \n
@licenseversion \n
@actualversion - @dateupdate

@licensenote
*/

import QtQuick 1.0
import "Theme.js" as ThemeObj

/*
    The Object contains the properties referencing the
    initialization parameters of Qt-Complex
    Be aware the when the object is istantiated it should be initialized
    with the proper funcions. Calling subobjects the parameters should be passed
    to avoit multiple instances of the same object requiring the same parameters
    initialization. Usuful to be used in the main application qml document.
  */
QtObject {
    id: complexItem

    objectName: "properties"

    // The theme name. This property should be set by the program
    property string theme: ""
    // The screen category is initialized with the folder name that contains
    // specific categoy-dependant objects
    property int screenCategory: 1  // Default: device normal
    // Get methods useful in JS modules
    function getTheme() { return theme; }
    function getCategory() { return screenCategory; }
}
